package Decorator_Pattern.Coffee;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Mixed extends Coffee{
     private Coffee coffee;
    public Mixed(Coffee coffee){
        this.coffee=coffee;
    }

    @Override
    public double display() {
        coffee.display();
        return coffee.display();
    }
}
